﻿using Newtonsoft.Json;
using System;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Models
{
    /// <summary>
    /// 授权响应
    /// </summary>
    [Serializable]
    public class WechatAccessTokenResponse
    {
        /// <summary>
        /// accessToken
        /// </summary>
        [JsonProperty("access_token"), JsonPropertyName("access_token")]
        public string AccessToken { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        [JsonProperty("expires_in"), JsonPropertyName("expires_in")]
        public int ExpiresIn { get; set; }

    }
}